#page_box_wide

  %h1 Edit Page

  = error_messages_for(:page, :header_message => "Could not save the page", :message => nil)

  - form_for(:page, :url => {:action => "update_page", :id => @page.id}) do |f|

    = render :partial => "page_form", :locals => {:f => f}

    .form_row
      %label
      = f.submit("Save", :class => "submit")
  
  = link_to "Back to Pages", :action => :pages